package com.yonyougov.devops.cruxcisupport.lifecycle;

import com.yonyougov.devops.fwc.core.controller.CrudController;
import com.yonyougov.devops.fwc.core.service.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.math.BigInteger;

/**
* Created by ligson on 2017/8/11.
*/
@RestController
@RequestMapping("/api/v2/lifecycle")
public class LifecycleController extends CrudController<LifecycleEntity, BigInteger> {

    @Autowired
    private LifecycleService lifecycleService;

    @Override
    public BaseService<LifecycleEntity, BigInteger> getService() {
        return lifecycleService;
    }

    //<!--用户自定义代码开始-->

    //<!--用户自定义代码结束-->
}
